$(function(){
    jsonGetPostContent(34);
});

function jsonGetPostContent(post_id) {
    var $api_url = "";
    $api_url = $root_url + "?p=" + post_id + "&json=1";
    
    $.get($api_url, function(data){
        console.log(data);
    });
}